package com.wnhz.wnmap.audit.api;

import com.wnhz.wnmap.common.result.HttpResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "wnmap-audit", contextId = "wnmap-audit-id")
public interface AuditFeign {
    @PutMapping("/api/audit/reduceSeats")
    HttpResp reduceSeats(@RequestParam("auditId") long auditId,
                         @RequestParam("seats") int seats);
}
